{include file=member.header.html}
{include file="title.html"}
{include file=member.submenu.html}
<script>
    $(function() {
        $('#epay-withdraw').submit(function() {
            if ($(this).find('input[name="tx_money"]').val() == '' || $(this).find('input[name="tx_money"]').val() <= 0) {
                alert('{$lang.withdraw_money_error}');
                return false;
            }
        });
    })
</script>
<form method="post">
    <ul class="form_content">
        <li>
            <h3>{$lang.card_type}</h3>
            <p>
                <label style="padding-right:50px;"><input type="radio" name="card_type" value="bank" {if $bank.card_type eq 'bank'} checked="checked" {/if} />{$lang.bank_card}</label>
                <label><input type="radio" name="card_type" value="alipay" {if $bank.card_type eq 'alipay'} checked="checked" {/if} />{$lang.alipay}</label>
            </p>
        </li>
        <li>
            <h3>{$lang.username}</h3>
            <p><input type="text" name="account_name"  value="{$bank.account_name}" /></p>
        </li>
        <li>
            <h3>{$lang.account}</h3>
            <p><input type="text" name="bank_num"  value="{$bank.bank_num}" /></p>
        </li>
        <li>
            <input class="red_btn" type="submit" value="{$lang.submit}" />
        </li>
    </ul>
</form>

{include file=footer.html}